home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / blitspin.1 < prev    next >
Text File  |  1995-07-25  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))     XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((11117777----aaaauuuugggg----99992222))))      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           blitspin - rotate a bitmap in an interesting way
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           bbbblllliiiittttssssppppiiiinnnn [-display _h_o_s_t:_d_i_s_p_l_a_y._s_c_r_e_e_n] [-foreground _c_o_l_o_r]
  13.           [-background _c_o_l_o_r] [-window] [-root] [-mono] [-install]
  14.           [-visual _v_i_s_u_a_l] [-bitmap _f_i_l_e_n_a_m_e] [-delay _u_s_e_c_s] [-delay2
  15.           _u_s_e_c_s]
  16.  
  17.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.           The _b_l_i_t_s_p_i_n program repeatedly rotates a bitmap by 90
  19.           degrees by using logical operations: the bitmap is divided
  20.           into quadrants, and the quadrants are shifted clockwise.
  21.           Then the same thing is done again with progressively smaller
  22.           quadrants, except that all sub-quadrants of a given size are
  23.           rotated in parallel.  So this takes OOOO((((11116666****lllloooogggg2222((((NNNN)))))))) blits of
  24.           size NxN, with the limitation that the image must be square,
  25.           and the size must be a power of 2.
  26.  
  27.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  28.           _b_l_i_t_s_p_i_n accepts the following options:
  29.  
  30.           ----wwwwiiiinnnnddddoooowwww Draw on a newly-created window.  This is the
  31.                   default.
  32.  
  33.           ----rrrrooooooootttt   Draw on the root window.
  34.  
  35.           ----mmmmoooonnnnoooo   If on a color display, pretend we're on a monochrome
  36.                   display.
  37.  
  38.           ----iiiinnnnssssttttaaaallllllll
  39.                   Install a private colormap for the window.
  40.  
  41.           ----vvvviiiissssuuuuaaaallll _v_i_s_u_a_l
  42.                   Specify which visual to use.  Legal values are the
  43.                   name of a visual class, or the id number (decimal or
  44.                   hex) of a specific visual.
  45.  
  46.           ----bbbbiiiittttmmmmaaaapppp _f_i_l_e_n_a_m_e
  47.                   The file name of a bitmap to rotate.  It need not be
  48.                   square: it will be padded with the background color.
  49.                   If unspecified or the string (_d_e_f_a_u_l_t), a builtin
  50.                   bitmap is used.
  51.  
  52.                   If support for the _X_P_M library was enabled at
  53.                   compile-time, the specified file may be in _X_P_M
  54.                   format as well as _X_B_M, and thus may be a color
  55.                   image.
  56.  
  57.                   The ****bbbbiiiittttmmmmaaaappppFFFFiiiilllleeeePPPPaaaatttthhhh resource will be searched if the
  58.                   bitmap name is not a fully-qualified pathname.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 6/30/95)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))     XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((11117777----aaaauuuugggg----99992222))))      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
  71.  
  72.  
  73.  
  74.           ----ddddeeeellllaaaayyyy mmmmiiiiccccrrrroooosssseeeeccccoooonnnnddddssss
  75.                   How long to delay between steps of the rotation
  76.                   process, in microseconds.  Default is 500000, one-
  77.                   half second.
  78.  
  79.           ----ddddeeeellllaaaayyyy2222 mmmmiiiiccccrrrroooosssseeeeccccoooonnnnddddssss
  80.                   How long to delay between each 90-degree rotation,
  81.                   in microseconds.  Default is 500000, one-half
  82.                   second.  DDDDIIIISSSSPPPPLLLLAAAAYYYY to get the default host and display
  83.                   number.
  84.  
  85.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  86.           XXXXEEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT to get the name of a resource file that
  87.           overrides the global resources stored in the
  88.           RESOURCE_MANAGER property.
  89.  
  90.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  91.           XXXX(1), xxxxssssccccrrrreeeeeeeennnnssssaaaavvvveeeerrrr(1)
  92.  
  93.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  94.           Copyright c 1992, 1993 by Jamie Zawinski.  Permission to
  95.           use, copy, modify, distribute, and sell this software and
  96.           its documentation for any purpose is hereby granted without
  97.           fee, provided that the above copyright notice appear in all
  98.           copies and that both that copyright notice and this
  99.           permission notice appear in supporting documentation.  No
  100.           representations are made about the suitability of this
  101.           software for any purpose.  It is provided "as is" without
  102.           express or implied warranty.
  103.  
  104.      AAAAUUUUTTTTHHHHOOOORRRR
  105.           Jamie Zawinski <jwz@mcom.com>, 17-aug-92.
  106.  
  107.           Based on SmallTalk code which appeared in the August 1981
  108.           issue of Byte magazine.
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 6/30/95)
  130.  
  131.  
  132.  
  133.